<?php
/**
 * @return
 * @author 朱乐斌
 * @date
 */

namespace app\api\model;

use think\Model;

class ClassModel extends Model
{
    protected $table = "ks_class";

    public function class()
    {
        $this->hasMany('Student','id','student_id')->find();
    }
}